//
//  NSObject+Tool.m
//  QXBSystem
//
//  Created by tongbinLi on 16/7/26.
//  Copyright © 2016年 tongbinLi. All rights reserved.
//

#import "NSObject+Tool.h"

@implementation NSObject (Tool)

- (NSString *)stringOfProperty:(objc_property_t)property {
    if (!property) return nil;
    const char *name = property_getName(property);
    if (name) {
        return [NSString stringWithUTF8String:name];
    }
    return nil;
}

@end
